.class Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;
.super Ljava/lang/Object;
.source "ViewImage21.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 2

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v0, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)Z

    move-result p1

    if-eqz p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget-object v0, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->L:Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;

    invoke-static {p1, v0}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->b(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;Lcom/estrongs/android/pop/esclasses/ESScrollMenuView;)V

    .line 3
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->f(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/chromecast/ChromeCastManager;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/chromecast/ChromeCastManager;->isConnected()Z

    move-result p1

    if-eqz p1, :cond_2

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 5
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->g(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Z

    goto :goto_0

    .line 6
    :cond_1
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->h(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    iget v0, p1, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->l:I

    const/4 v1, 0x1

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->a(IZ)V

    goto :goto_0

    .line 8
    :cond_2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/chromecast/ChromeCastDialog;

    move-result-object p1

    if-nez p1, :cond_3

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->j(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)V

    .line 10
    :cond_3
    iget-object p1, p0, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21$e;->a:Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;->i(Lcom/estrongs/android/pop/app/imageviewer/ViewImage21;)Lcom/estrongs/chromecast/ChromeCastDialog;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/chromecast/ChromeCastDialog;->show()V

    :goto_0
    return-void
.end method
